package com.restcloud.pojo.BloodTransfusionConsentForm;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;

@XmlAccessorType(XmlAccessType.FIELD)
@Data
public class MRSReceiver {

    public MRSReceiver() {
    }

    public MRSReceiver(String typeCode , String contextControlCode) {
        this.typeCode = typeCode;
        if (!contextControlCode.equals("")){
            this.contextControlCode = contextControlCode;
        }
    }

    @XmlAttribute(name = "typeCode")
    private String typeCode;

    @XmlAttribute(name = "contextControlCode")
    private String contextControlCode;
}
